package com.szeastroc.core.mapper.system;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.szeastroc.core.base.mapper.BaseMapper;
import com.szeastroc.core.bean.system.SystemRoleResource;

/**
 * Created by jie on 2018/1/14.
 */
public interface SystemRoleResourceMapper extends BaseMapper<SystemRoleResource>{


    @Delete("delete from t_system_role_resource where role_id = #{roleId}")
    public void deleteByRoleId(@Param("roleId") Integer roleId);


}
